<template>
  <div class="book_main b_m_h1">
      <BannerList :curBook="curBook" />
      <right-detail/>
  </div>
</template>

<script>
import BannerList from "@/router/pages/PayBookList/BookDetail/BannerList";
import rightDetail from "@/router/pages/PayBookList/BookDetail/rightDetail";
export default {
  name: "BookDetail",
  components: {BannerList,rightDetail},
  data(){
    return{
      curBook:this.$route.query.curBook
    }
  },
  created() {
    console.log(this.curBook)
  }
}
</script>

<style scoped>
.b_m_h1 {
  margin-bottom: 80px;
}
.book_main {
  /*float: left;*/
  width: 1040px;
  margin: 1em auto;
}

</style>